From 17cdbcce21a88cdae05b982deac2967dfe8ea02b Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 29 Oct 2003 03:37:52 +0000 Subject: [PATCH] Misc cleanups. --- gpsbabel/defs.h | 4 ++-- gpsbabel/magproto.c | 2 +- gpsbabel/main.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index 27a18276b..878c42788 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -191,7 +191,7 @@ void waypt_del (waypoint *); void waypt_free (waypoint *); void waypt_disp_all(waypt_cb); void waypt_flush(queue *); -void waypt_flush_all(); +void waypt_flush_all(void); unsigned int waypt_count(void); void free_gpx_extras (xml_tag * tag); void xcsv_read_internal_style(const char *style_buf); @@ -204,7 +204,7 @@ void route_add_head(route_head *rte); void route_disp_all(route_hdr, route_trl, waypt_cb); void route_free (route_head *); void route_flush( queue *); -void route_flush_all(); +void route_flush_all(void); unsigned int route_waypt_count(void); unsigned int route_count(void); diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index e32e5ce59..07d4cdea6 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -177,7 +177,7 @@ pid_to_model_t pid_to_model[] = { mm_meridian, 43, "Meridian Marine" }, { mm_sportrak, 44, "Sportrak Topo" }, { mm_sportrak, 45, "Mystic" }, - { mm_merdian, 46, "MobileMapper" }, + { mm_meridian, 46, "MobileMapper" }, { mm_unknown, 0, NULL } }; diff --git a/gpsbabel/main.c b/gpsbabel/main.c index 27a6ef470..306424330 100644 --- a/gpsbabel/main.c +++ b/gpsbabel/main.c @@ -23,7 +23,7 @@ global_options global_opts; -void +static void usage(const char *pname) { printf("GPSBabel Version %s. http://gpsbabel.sourceforge.net\n\n", -- 2.30.2